const express = require('express');
const router = express.Router();
const imageController = require('../controllers/imageController');

// 图片上传路由
router.post('/upload', imageController.uploadImage);

// 图片处理路由
router.post('/process', imageController.processImage);

// 生成长图路由
router.post('/merge', imageController.mergeImages);

// 生成PDF路由
router.post('/generate-pdf', imageController.generatePDF);

module.exports = router;